package org.prem.spring.core.pnamespace;

public class Triangle {
	
	private String type;
	
	private Point pointA;
	
	
	public String getType() {
		return type;
	}


	public void setType(String type) {
		this.type = type;
	}


	public Point getPointA() {
		return pointA;
	}


	public void setPointA(Point pointA) {
		this.pointA = pointA;
	}


	public void draw(){
		System.out.println(getType()+" Triangle draw");
		System.out.println("PointA--->"+this.pointA.getX()+","+this.pointA.getY());
	}
}
